package cn.mapper;

import cn.dto.Query;
import cn.entity.Machine;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface MachineMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Machine record);

    int insertSelective(Machine record);

    Machine selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Machine record);

    int updateByPrimaryKeyWithBLOBs(Machine record);

    int updateByPrimaryKey(Machine record);

    List<Machine> getMachineList(Query query);

    int totalNum();
}